package com.chushouya.manager.dto.admin.notice;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.general.framework.core.lang.Dates;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("消息通知详情")
public class NoticeViewDTO {

    @ApiModelProperty("消息通知ID")
    private Long noticeId;

    @ApiModelProperty("用户消息通知ID")
    private Long userNoticeId;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("业务ID")
    private String bizId;

    @ApiModelProperty("业务场景")
    private String bizScene;

    @ApiModelProperty("重要级别")
    private Integer noticeLevel;

    @ApiModelProperty("推送方式")
    private Integer pushType;

    @ApiModelProperty("发送时间")
    @JsonFormat(pattern = Dates.FMT_FULL_TIME)
    private Date publishTime;

}
